package com.ruoyi.web.controller.shop.service;

import com.ruoyi.common.entity.DO.member.MemberLabelDO;
import com.ruoyi.common.entity.DO.member.MemberLabelLinkDO;
import com.ruoyi.common.entity.VO.member.MemberLabelSearchVO;
import com.ruoyi.common.entity.VO.member.MemberLabelVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface IBackShopMemberLabelService {

    List<MemberLabelVO> searchList(MemberLabelSearchVO searchVO);

    /**
     * 校验标签名称是否唯一
     *
     * @param memberLabelSearchVO 检查信息
     * @return 结果
     */
    String checkLabelNameUnique(MemberLabelSearchVO memberLabelSearchVO);

    void add(MemberLabelVO memberLabelVO);

    void edit(MemberLabelVO memberLabelVO);

    MemberLabelDO selectById(Long id);

    int removeByIds(String ids);

    void link(MemberLabelVO MemberLabelVO);
}